package com.aimei520.po.admin;

import java.util.Date;

/**
 * 日志记录实体
 * Title: Log.java
 * Description:  
 * Copyright: Copyright (c) 2018
 * Company: www.storyboy.xyz 
 * @author JiaXun  
 * @date 2018年9月7日  
 * @version 1.0.0
 */
public class Log {

	private int id;
	
	private int  userId;
	
	private String message;
	
	private Date createtime;
	
	private User user;
	
	private String ip;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	@Override
	public String toString() {
		return "Log [id=" + id + ", userId=" + userId + ", message=" + message + ", createtime=" + createtime
				+ ", user=" + user + ", ip=" + ip + "]";
	}
	
}
